#练习实例 认知面向对象
class House:
    #类的属性（静态属性）
    door = ''
    floor =''
    #类的方法
    def cook(self):
        print('做饭')

    def sleep(self):
        print('睡觉')

bob = House()
jerry = House()
bob.door = 'while'
jerry.floor = 'black'
print(jerry.floor)
print(bob.door)
